home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h> /* Ignore this line -- we'll get to it in chapter 9 */
-
- PrintChars( char low, char high )
- {
- unsigned char c;
-
- printf( "%d to %d ---> ", low, high );
- for ( c = low; c <= high; c++ )
- printf( "%c", c );
-
- printf( "\n" );
- }
-
-
- main()
- {
- PrintChars( 32, 47 );
- PrintChars( 48, 57 );
- PrintChars( 58, 64 );
- PrintChars( 65, 90 );
- PrintChars( 91, 96 );
- PrintChars( 97, 122 );
- PrintChars( 123, 126 );
- }